package com.liuweidihuangwan.jingdong.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 
 * @TableName image
 */
@TableName(value ="image")
@Data
public class Image implements Serializable {
    /**
     * 图片ID
     */
    @TableId(type = IdType.AUTO)
    private Integer imgID;

    /**
     * 链接
     */
    private String src;

    /**
     * 类型：1，用户；2，商品
     */
    private Integer types;

    /**
     * 实体ID
     */
    private Integer kindID;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}